/* Ejercicio 2.32
   ejer2_32.c
*/
#include <stdio.h>

/* funcion main, el programa inicia aca */
int main( void )
{
    int weight, height;
    int bmi;

    printf( "Enter your weight: " );
    scanf( "%d", &weight );
    printf( "Enter your height in cm: " );
    scanf( "%d", &height );

    bmi = weight * 100 * 100 / ( height * height );

    printf( "BMI VALUES\n" );
    printf( "Underweight:   less than 18.5\n" );
    printf( "Normal:        between 18.5 and 24.9\n" );
    printf( "Overweight:    between 25 and 29.9\n" );
    printf( "Obese:         30 or greater\n\n" );
    printf( "Your BMI is: %d\n", bmi );
	return 0;
} /* fin de la funcion main */
